<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-imagecode" class="control-label col-xs-12 col-sm-2">{:__('Imagecode')}</label>
        <div class="col-xs-12 col-sm-4">
            <img src="/{$row.login_code_path|htmlentities}" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-login_code" class="control-label col-xs-12 col-sm-2">{:__('Textcode')}</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-login_code" data-rule="required" class="form-control" name="row[login_code]" type="text"
                value="{$row.login_code|htmlentities}" width="150px">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>